﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/Base.master" AutoEventWireup="true" CodeFile="ToTalk.aspx.cs" Inherits="Talk_ToTalk" Title="Untitled Page" %>

<asp:Content ID="ToTalk" ContentPlaceHolderID="sidebarPlaceHolder" Runat="Server">
    <form id="frmToTalk" runat="server">
        <asp:TextBox ID="txtTalk" runat="server" CssClass="talkContent" TextMode="MultiLine" />
        <asp:Button ID="btnToTalk" runat="server" CssClass="talkButton" Text="ToTalk" 
            onclick="btnToTalk_Click" />
    </form>
</asp:Content>
<asp:Content ID="TalkContent" ContentPlaceHolderID="mainContentPlaceHolder" Runat="Server">
    <asp:DataList ID="dlTalkContent" runat="server" RepeatLayout="Flow">
        <ItemTemplate>
            <asp:LoginName ID="loginName" runat="server" />
            <asp:Label ID="lblTalking" runat="server" Text='<%# Eval("Content") %>' ></asp:Label>
            <asp:Label ID="lblPostTime" runat="server" Text='<%# Eval("PostTime") %>'></asp:Label>
                 
        </ItemTemplate>
    </asp:DataList>       
</asp:Content>

